class EsMethods {
  constructor(name, age, gender) {
    // super(name, age, gender)
    this.name = name
    this.age = age
    this.gender = gender
  }

  say () {
    console.log('我是es6class语法')
  }
}

class EsTest extends EsMethods {
  constructor(x, y, z, height) {
    super(x, y, z)
    this.height = height
  }
}

export default EsTest
